package com.hua.springCloud.service;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.math.BigDecimal;


public interface AccountService {

/**
     * 扣减账户余额
*      @param userId 用户id
     * @param money 金额
*/
void reduceMoney(Long userId,BigDecimal money);
}


